package com.hkts.naturalgas.performance.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.performance.entity.HkAssessmentInfo;
import com.hkts.naturalgas.performance.performanceVo.AssessmentDetilResultVo;
import com.hkts.naturalgas.performance.performanceVo.AssessmentDetilVo;
import com.hkts.naturalgas.performance.performanceVo.ProcessDateAndEmpNumVo;
import com.hkts.naturalgas.performance.performanceVo.ProcessNodesUserAndTime;
import com.hkts.naturalgas.utils.CustomPage;
import com.hkts.naturalgas.utils.Result;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2020-12-23
 */
public interface IHkAssessmentInfoService extends IService<HkAssessmentInfo> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param hkAssessmentInfo
         * @return
         */
        IPage<HkAssessmentInfo> selectPage(Page<HkAssessmentInfo> page, HkAssessmentInfo hkAssessmentInfo);

    List<HkAssessmentInfo> selectList(HkAssessmentInfo hkAssessmentInfo);

    List<HkAssessmentInfo> getHkAssessmentInfoByProIds(List<String> ids);
    //查找各节点审批人和时间
    List<ProcessNodesUserAndTime> getApparoleUserIdAndTimeByProcessId(String processInstantId);

    Result getAssessmentDates(CustomPage page,String nickName,String businessType,String departId) throws Exception;

    List<AssessmentDetilResultVo> getAssessmentDetil(String date,String nickName,String businessType,String departId) throws Exception;

    public List<String> getDealtWith(String hontUserId);

    void historyData();

    Result getAssessmentMonth(CustomPage page,String nickName,String businessType,String departId);

    Result getAssessmentDatesByMonth(String month,String nickName,String businessType,String departId);
}